package apkg;

import java.awt.Image;

import javax.jws.WebMethod;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.jws.soap.SOAPBinding.Style;

@WebService
@SOAPBinding(style = Style.RPC)
public interface TestWebServiceInterface {

	@WebMethod
	String sayHello(String name);

	@WebMethod 
	Image downloadImage(String name);

	@WebMethod 
	boolean uploadImage(String name, Image data);

	@WebMethod
	void registerWithBank();

	@WebMethod
	void credit(double amount);

	@WebMethod
	void setup(String codebaseURL, String reggieURL, String firstName, String familyName, int postalCode);

	@WebMethod
	void offerProduct(String name, long duration, double minAmount, double maxAmount, String auctionType);

	@WebMethod
	String search(String term, int index);

	@WebMethod
	void joinBidding(String productId);

	@WebMethod
	void placeBidding(String productId, double amount);
}
